from selenium import webdriver
from time import sleep
from options  import options
from discuz import Discuz
url=r"http://192.168.150.129/upload/"
driver=webdriver.Chrome(options=options)
driver.get(url)
driver.maximize_window()


if __name__ == '__main__':
    username = 'test01'
    password = '123456'
    email='test01@qq.com'
    user=Discuz(driver)
    #user.register(username,password,email)
    # user.assert(username, password)
    # user.scan(username,password)
    # user.post(username,password)
    user.reply(username, password)